package org.apache.tapestry5.csrfprotection.victimapp.pages;

import org.apache.tapestry5.annotations.InjectPage;
import org.apache.tapestry5.annotations.Log;
import org.apache.tapestry5.annotations.PageAttached;
import org.apache.tapestry5.annotations.Persist;
import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.annotations.SessionState;
import org.apache.tapestry5.csrfprotection.CsrfProtected;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.services.Request;

import util.AuthenticationState;
import util.User;

@CsrfProtected
public class Profile {
	@SessionState
	@Property
    private User user;
	
	@InjectPage
	private Index home;
	
	@SessionState
	private AuthenticationState auth;
	
	@Inject
	private Request request;
	
}
